<!DOCTYPE html>
<html lang="en">

<head>
    <title>My BCIT Project</title>
    <meta name="comp2800 template" content="My 2800 App">

    <!------------------------>
    <!-- Required meta tags -->
    <!------------------------>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!------------------------------------------>
    <!-- Bootstrap Library CSS JS CDN go here -->
    <!------------------------------------------>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>

    <!-------------------------------------------------------->
    <!-- Firebase 8 Library related CSS, JS, JQuery go here -->
    <!-------------------------------------------------------->
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>

    <!-------------------------------------------->
    <!-- Other libraries and styles of your own -->
    <!-------------------------------------------->
    <!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
    <!-- <link rel="stylesheet" href="./styles/style.css"> -->

</head>

<body>
    <!------------------------------>
    <!-- Your HTML Layout go here -->
    <!------------------------------>

    <!-- our own navbar goes here -->
    <nav id="navbarPlaceholder"></nav>

    <!-- the body of your page goes here -->
    <div class="container" style="width: 50%;">
        <h1>User Profile </h1>
        <form>
            <fieldset class="mb-3" id="personalInfoFields">
                <div class="form-group">
                    <label>Name</label> 
                    <input type="text" id="nameInput" class="form-control"
                        placeholder="Please enter your name">
                </div>
                <div class="form-group"> 
                    <label>Height(cm)</label> 
                    <input type="number" id="heightInput" class="form-control"
                        placeholder="Please enter your height(cm)">
                </div>
                <div class="form-group"> 
                    <label>Body weight(kg)</label> 
                    <input type="number" id="weightInput" class="form-control"
                        placeholder="Please enter your weight(kg)">
                </div>
            </fieldset>
            <div class="d-flex justify-content-end mt-5"> 
                <button type="button" class="btn btn-secondary"
                    onclick="editProfile()">Edit</button> 
                <button type="button" class="btn btn-success mx-3"
                    onclick="saveProfile()">Save</button>
            </div>
        </form>
    </div>
    <!-- stuff -->

    <!-- our own footer goes here-->
    <nav id="footerPlaceholder"></nav>

    <!---------------------------------------------->
    <!-- Your own JavaScript functions go here    -->
    <!---------------------------------------------->
    <script src="./scripts/skeleton.js"></script>
    <script src="./scripts/profile.js"></script>
    <!-- <script src="./scripts/script.js"></script> -->

</body>

</html>
